<style>
    .theLine {
        margin-top: 15px;
        margin-left: 0px;
        margin-bottom: 15px;
        margin-right: 500px;
        padding-top: 1px;
        padding-left: 0px;
        padding-bottom: 3px;
        padding-right: 0px;
        font: 14pt georgia, palatino, times, serif;
        font-weight: normal;
        text-align: left;
        background-color: transparent;
        color: #fff;
        border-bottom: 1px solid #000;
    }
    .theMainContent {
        margin-top: 5px;
        margin-left: 100px;
        margin-bottom: 15px;
        margin-right: 500px;
        padding-top: 1px;
        padding-left: 0px;
        padding-bottom: 3px;
        padding-right: 0px;

        font-weight: normal;
        text-align: left;
        background-color: transparent;

    }
	.thebtn {
        margin-left: 200px;
    }
</style>
<!--session[:user_id]-->
<div class="blank14">
</div>
<p style="color: green"><%= flash[:notice] %></p>
<%form_for :city,:url=>{:controller=>:review,:action=>:startreview} do |f| %>
<div class="reginfo">
    <div class="theLine">
        <h3><span>添加点评</span></h3>
    </div>
    <div class="blank14">
    </div>
    <div class="theMainContent">
        <div class="titleName">
            城 市：
        </div>
        <%= f.select(:city_id,DCity.find(:all).collect {|c| [ c.city_name, c.id ] },{:prompt => "请选择城市"}) %>
        <div class="blank14">
        </div>
        <div class="titleName">
            类 型：
        </div>
        <%= f.select(:style_id,DStyle.find(:all).collect {|c| [ c.style_name, c.id ] },{:prompt => "请选择类型"}) %>
        <div class="blank14">
        </div>
        <div class="titleName">
            商 家：
        </div>
        <%= f.select(:enterprise_id,Enterprise.find(:all).collect {|c| [ c.enterprise_name, c.id ] },{:prompt => "请选择商家"}) %>
        <div class="blank14">
        </div>
        <div class="btns thebtn">
            <%= link_to '<span>点评</span> ','javascript:document.forms[0].submit(); ' %>
        </div>
        <div class="blank14">
        </div>
    </div>
</div>
<% end %>
